package com.kuang.springcloud.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description
 * @create 2021/7/20 - 20:13
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class Dept implements Serializable {
    private Long deptno;
    private String dname;


    // one service   one database  one machine
    private String db_source;

    public Dept(String dname){
        this.dname = dname;
    }
}
